<?php

include 'Person.php';
session_start();
?>
<?php

$dbs = new DB();
$UserA = new person();
$UserA->setname($_POST['name']);
$UserA->setpass($_POST['password']);
$UserA->Login($dbs);

$_SESSION['user'] = new person();
$_SESSION['user'] = $UserA;
?>
